import { defineStore } from 'pinia'

export const useData = defineStore('data', {
  persist: true,

  state: () => ({ count: 0 }),
  actions: {
    add() {
      this.count++
    }
  }

})